package com.xgimi.open.skill.datamanager.domain.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xgimi.open.skill.datamanager.domain.entity.SkillDO;

import java.util.List;

/**
* @author coderzpw.zhang
* @description 针对表【skill(技能表)】的数据库操作Service
* @createDate 2023-02-07 19:30:37
*/
public interface SkillService extends IService<SkillDO> {

    List<SkillDO> querySkillByName(SkillDO skillDO);

    Boolean saveSkill(SkillDO skillDO);

    IPage<SkillDO> pageQuery(IPage<SkillDO> page, SkillDO skillDO);

    SkillDO queryById(Long id);

    List<SkillDO> queryByNameAndNoId(SkillDO skillDO);

    boolean updateByIdAndVersion(SkillDO skillDO);

    List<SkillDO> getPublishedSkill();

    SkillDO queryByBusinessId(String skillBusinessId);

    List<SkillDO> onlineSkills();

    List<SkillDO> testSkills();
}
